package com.yunmang.entity;

import java.util.List;

/**
 * Created by Administrator on 2017/5/26.
 */
public class BatchDetailBean {

    /**
     * code : 200
     * message : null
     * model : {"id":162,"batchNumber":"ZZFB0170517145809","sendDate":"2017-05-17T00:00:00","sendTime":"2017-05-17T14:58:10","departName":"郑州分拨中心","nextDepartName":"开封分公司","nextId":34,"billCount":1,"quantity":2,"transportCost":1,"goodsCost":5,"weight":2,"cubage":2,"plate":"gg","driverName":"gg","driverPhone":"55","batchStatus":1,"carId":0,"stevedoreCost":0,"carCost":0,"carCostByShipper":0,"carCostByConsignee":0,"note":"备注","items":[{"id":410,"hdbh":"117137000549","endDepartName":"开封分公司","endDepartId":34,"numbers":2,"transportCost":1,"goodsName":"看来","pack":"箱","startDepartName":"焦作分公司","startDepartId":33,"billDate":"2017-05-17T00:00:00","goodsCost":5,"shipper":"几天","shipperPhone":"13938155582","consignee":"赵志芹","consigneePhone":"68737880","balanceMethod":"现付","weight":2,"cubage":2,"batchStatus":1}],"canEdit":false}
     */

    private int code;
    private Object message;
    /**
     * id : 162
     * batchNumber : ZZFB0170517145809
     * sendDate : 2017-05-17T00:00:00
     * sendTime : 2017-05-17T14:58:10
     * departName : 郑州分拨中心
     * nextDepartName : 开封分公司
     * nextId : 34
     * billCount : 1
     * quantity : 2
     * transportCost : 1
     * goodsCost : 5
     * weight : 2
     * cubage : 2
     * plate : gg
     * driverName : gg
     * driverPhone : 55
     * batchStatus : 1
     * carId : 0
     * stevedoreCost : 0
     * carCost : 0
     * carCostByShipper : 0
     * carCostByConsignee : 0
     * note : 备注
     * items : [{"id":410,"hdbh":"117137000549","endDepartName":"开封分公司","endDepartId":34,"numbers":2,"transportCost":1,"goodsName":"看来","pack":"箱","startDepartName":"焦作分公司","startDepartId":33,"billDate":"2017-05-17T00:00:00","goodsCost":5,"shipper":"几天","shipperPhone":"13938155582","consignee":"赵志芹","consigneePhone":"68737880","balanceMethod":"现付","weight":2,"cubage":2,"batchStatus":1}]
     * canEdit : false
     */

    private ModelBean model;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public ModelBean getModel() {
        return model;
    }

    public void setModel(ModelBean model) {
        this.model = model;
    }

    public static class ModelBean {
        private int id;
        private String batchNumber;
        private String sendDate;
        private String sendTime;
        private String departName;
        private String nextDepartName;
        private int nextId;
        private int billCount;
        private int quantity;
        private double transportCost;
        private double goodsCost;
        private double weight;
        private double cubage;
        private String plate;
        private String driverName;
        private String driverPhone;
        private int batchStatus;
        private int carId;
        private double stevedoreCost;
        private double carCost;
        private double carCostByShipper;
        private double carCostByConsignee;
        private String note;
        private boolean canEdit;
        /**
         * id : 410
         * hdbh : 117137000549
         * endDepartName : 开封分公司
         * endDepartId : 34
         * numbers : 2
         * transportCost : 1
         * goodsName : 看来
         * pack : 箱
         * startDepartName : 焦作分公司
         * startDepartId : 33
         * billDate : 2017-05-17T00:00:00
         * goodsCost : 5
         * shipper : 几天
         * shipperPhone : 13938155582
         * consignee : 赵志芹
         * consigneePhone : 68737880
         * balanceMethod : 现付
         * weight : 2
         * cubage : 2
         * batchStatus : 1
         */

        private List<ItemsBean> items;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getBatchNumber() {
            return batchNumber;
        }

        public void setBatchNumber(String batchNumber) {
            this.batchNumber = batchNumber;
        }

        public String getSendDate() {
            return sendDate;
        }

        public void setSendDate(String sendDate) {
            this.sendDate = sendDate;
        }

        public String getSendTime() {
            return sendTime;
        }

        public void setSendTime(String sendTime) {
            this.sendTime = sendTime;
        }

        public String getDepartName() {
            return departName;
        }

        public void setDepartName(String departName) {
            this.departName = departName;
        }

        public String getNextDepartName() {
            return nextDepartName;
        }

        public void setNextDepartName(String nextDepartName) {
            this.nextDepartName = nextDepartName;
        }

        public int getNextId() {
            return nextId;
        }

        public void setNextId(int nextId) {
            this.nextId = nextId;
        }

        public int getBillCount() {
            return billCount;
        }

        public void setBillCount(int billCount) {
            this.billCount = billCount;
        }

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }

        public double getTransportCost() {
            return transportCost;
        }

        public void setTransportCost(double transportCost) {
            this.transportCost = transportCost;
        }

        public double getGoodsCost() {
            return goodsCost;
        }

        public void setGoodsCost(double goodsCost) {
            this.goodsCost = goodsCost;
        }

        public double getWeight() {
            return weight;
        }

        public void setWeight(double weight) {
            this.weight = weight;
        }

        public double getCubage() {
            return cubage;
        }

        public void setCubage(double cubage) {
            this.cubage = cubage;
        }

        public String getPlate() {
            return plate;
        }

        public void setPlate(String plate) {
            this.plate = plate;
        }

        public String getDriverName() {
            return driverName;
        }

        public void setDriverName(String driverName) {
            this.driverName = driverName;
        }

        public String getDriverPhone() {
            return driverPhone;
        }

        public void setDriverPhone(String driverPhone) {
            this.driverPhone = driverPhone;
        }

        public int getBatchStatus() {
            return batchStatus;
        }

        public void setBatchStatus(int batchStatus) {
            this.batchStatus = batchStatus;
        }

        public int getCarId() {
            return carId;
        }

        public void setCarId(int carId) {
            this.carId = carId;
        }

        public double getStevedoreCost() {
            return stevedoreCost;
        }

        public void setStevedoreCost(double stevedoreCost) {
            this.stevedoreCost = stevedoreCost;
        }

        public double getCarCost() {
            return carCost;
        }

        public void setCarCost(double carCost) {
            this.carCost = carCost;
        }

        public double getCarCostByShipper() {
            return carCostByShipper;
        }

        public void setCarCostByShipper(double carCostByShipper) {
            this.carCostByShipper = carCostByShipper;
        }

        public double getCarCostByConsignee() {
            return carCostByConsignee;
        }

        public void setCarCostByConsignee(double carCostByConsignee) {
            this.carCostByConsignee = carCostByConsignee;
        }

        public String getNote() {
            return note;
        }

        public void setNote(String note) {
            this.note = note;
        }

        public boolean isCanEdit() {
            return canEdit;
        }

        public void setCanEdit(boolean canEdit) {
            this.canEdit = canEdit;
        }

        public List<ItemsBean> getItems() {
            return items;
        }

        public void setItems(List<ItemsBean> items) {
            this.items = items;
        }

        public static class ItemsBean {
            private int id;
            private String hdbh;
            private String endDepartName;
            private int endDepartId;
            private int numbers;
            private double transportCost;
            private String goodsName;
            private String pack;
            private String startDepartName;
            private int startDepartId;
            private String billDate;
            private double goodsCost;
            private String shipper;
            private String shipperPhone;
            private String consignee;
            private String consigneePhone;
            private String balanceMethod;
            private double weight;
            private double cubage;
            private int batchStatus;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getHdbh() {
                return hdbh;
            }

            public void setHdbh(String hdbh) {
                this.hdbh = hdbh;
            }

            public String getEndDepartName() {
                return endDepartName;
            }

            public void setEndDepartName(String endDepartName) {
                this.endDepartName = endDepartName;
            }

            public int getEndDepartId() {
                return endDepartId;
            }

            public void setEndDepartId(int endDepartId) {
                this.endDepartId = endDepartId;
            }

            public int getNumbers() {
                return numbers;
            }

            public void setNumbers(int numbers) {
                this.numbers = numbers;
            }

            public double getTransportCost() {
                return transportCost;
            }

            public void setTransportCost(int transportCost) {
                this.transportCost = transportCost;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public String getPack() {
                return pack;
            }

            public void setPack(String pack) {
                this.pack = pack;
            }

            public String getStartDepartName() {
                return startDepartName;
            }

            public void setStartDepartName(String startDepartName) {
                this.startDepartName = startDepartName;
            }

            public int getStartDepartId() {
                return startDepartId;
            }

            public void setStartDepartId(int startDepartId) {
                this.startDepartId = startDepartId;
            }

            public String getBillDate() {
                return billDate;
            }

            public void setBillDate(String billDate) {
                this.billDate = billDate;
            }

            public double getGoodsCost() {
                return goodsCost;
            }

            public void setGoodsCost(int goodsCost) {
                this.goodsCost = goodsCost;
            }

            public String getShipper() {
                return shipper;
            }

            public void setShipper(String shipper) {
                this.shipper = shipper;
            }

            public String getShipperPhone() {
                return shipperPhone;
            }

            public void setShipperPhone(String shipperPhone) {
                this.shipperPhone = shipperPhone;
            }

            public String getConsignee() {
                return consignee;
            }

            public void setConsignee(String consignee) {
                this.consignee = consignee;
            }

            public String getConsigneePhone() {
                return consigneePhone;
            }

            public void setConsigneePhone(String consigneePhone) {
                this.consigneePhone = consigneePhone;
            }

            public String getBalanceMethod() {
                return balanceMethod;
            }

            public void setBalanceMethod(String balanceMethod) {
                this.balanceMethod = balanceMethod;
            }

            public double getWeight() {
                return weight;
            }

            public void setWeight(double weight) {
                this.weight = weight;
            }

            public double getCubage() {
                return cubage;
            }

            public void setCubage(double cubage) {
                this.cubage = cubage;
            }

            public int getBatchStatus() {
                return batchStatus;
            }

            public void setBatchStatus(int batchStatus) {
                this.batchStatus = batchStatus;
            }
        }
    }
}
